Conversation
Signed-off-by: grnd-alt <git@belakkaf.net>
Signed-off-by: grnd-alt <git@belakkaf.net>
|
🐢 Performance warning. |
| ]; | ||
| $resp = $this->proxy->put($participantCloudId->getId(), $shareToken, $url, $params); | ||
| return $this->proxy->getOcsData($resp); | ||
| } |
There was a problem hiding this comment.
you can also add a helper function like 'reorderRemote' for the shared code, and just pass params to it.
There was a problem hiding this comment.
The code is a bit duplicated but have very different semantics for calling the endpoint for either cards or stacks so I think having a clear separation by functions makes sense? arguably getting the shareToken and cloudId etc. could be unified, but that would apply to all functions in here so I'd say not to do that here.
No description provided.